const KoaRouter = require('@koa/router')
const {
    upload
} = require('../controller/comment.controller')
const {
    verifyAuth
} = require('../middleware/login.middleware')

const commentRouter = new KoaRouter({
    prefix: '/comment'
})

commentRouter.post('/upload', verifyAuth, upload)

module.exports = commentRouter